package cyy.example.com.facotry.model.api.response;

/**
 * Created by ChenYiYao on 2018/9/11.
 */
public class StaffDetailsEntity {


    /**
     * email : @
     * phone : 13168751346
     * preuserName : 哈
     * preuserId : 31
     * realname : lgz
     * sysRole : {"roleId":2,"roleName":"巡查人员"}
     * sysUserDetails : {"department":"TEST1","duty":"TEST3","headPhoto":"XXX.JPG","headPhotoAddr":"XXX2.JPG","institution":"456","post":"TEST2","preuserId":31}
     * userType : 环保部门
     * username : admin5
     */

    private String email;
    private String phone;
    private String preuserId;
    private String realname;
    private SysRoleBean sysRole;
    private SysUserDetailsBean sysUserDetails;
    private String userType;
    private String username;
    private String regionCode;
    private String preuserName;


    public String getPreuserName() {
        return preuserName;
    }

    public void setPreuserName(String preuserName) {
        this.preuserName = preuserName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public String getPreuserId() {
        return preuserId;
    }

    public void setPreuserId(String preuserId) {
        this.preuserId = preuserId;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public SysRoleBean getSysRole() {
        return sysRole;
    }

    public void setSysRole(SysRoleBean sysRole) {
        this.sysRole = sysRole;
    }

    public SysUserDetailsBean getSysUserDetails() {
        return sysUserDetails;
    }

    public void setSysUserDetails(SysUserDetailsBean sysUserDetails) {
        this.sysUserDetails = sysUserDetails;
    }

    public String getUserType() {
        return userType;
    }



    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }

    public static class SysRoleBean {
        /**
         * roleId : 2
         * roleName : 巡查人员
         */

        private String roleId;
        private String roleName;

        public String getRoleId() {
            return roleId;
        }

        public void setRoleId(String roleId) {
            this.roleId = roleId;
        }

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }
    }

    public static class SysUserDetailsBean {
        /**
         * department : TEST1
         * duty : TEST3
         * headPhoto : XXX.JPG
         * headPhotoAddr : XXX2.JPG
         * institution : 456
         * post : TEST2
         * preuserId : 31
         */

        private String department;
        private String duty;
        private String headPhoto;
        private String headPhotoAddr;
        private String institution;
        private String post;
        private String preuserId;
        private String userId;

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getDuty() {
            return duty;
        }

        public void setDuty(String duty) {
            this.duty = duty;
        }

        public String getHeadPhoto() {
            return headPhoto;
        }

        public void setHeadPhoto(String headPhoto) {
            this.headPhoto = headPhoto;
        }

        public String getHeadPhotoAddr() {
            return headPhotoAddr;
        }

        public void setHeadPhotoAddr(String headPhotoAddr) {
            this.headPhotoAddr = headPhotoAddr;
        }

        public String getInstitution() {
            return institution;
        }

        public void setInstitution(String institution) {
            this.institution = institution;
        }

        public String getPost() {
            return post;
        }

        public void setPost(String post) {
            this.post = post;
        }

        public String getPreuserId() {
            return preuserId;
        }

        public void setPreuserId(String preuserId) {
            this.preuserId = preuserId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }
}
